.class public Lcom/hyphenate/chat/a/b;
.super Ljava/lang/Object;


# static fields
.field static final b:Ljava/lang/String; = "uuid"

.field static final c:Ljava/lang/String; = "share-secret"

.field static final d:Ljava/lang/String; = "entities"

.field private static final f:Ljava/lang/String; = "conf"

.field private static final g:Ljava/lang/String; = "EASEMOB_APPKEY"

.field private static final h:Ljava/lang/String; = "EASEMOB_CHAT_ADDRESS"

.field private static final i:Ljava/lang/String; = "EASEMOB_CHAT_DOMAIN"

.field private static final j:Ljava/lang/String; = "EASEMOB_GROUP_DOMAIN"

.field private static final k:Ljava/lang/String; = "EASEMOB_CHAT_PORT"

.field private static final l:Ljava/lang/String; = "EASEMOB_API_URL"


# instance fields
.field public a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

.field e:Z

.field private m:Ljava/lang/String;

.field private n:Ljava/lang/String;

.field private o:I

.field private p:Ljava/lang/String;

.field private q:Ljava/lang/String;

.field private r:Ljava/lang/String;

.field private s:Lcom/hyphenate/chat/EMOptions;

.field private t:Ljava/lang/String;

.field private u:Landroid/content/Context;

.field private v:Lcom/hyphenate/chat/a/b$b;

.field private w:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object v1, p0, Lcom/hyphenate/chat/a/b;->m:Ljava/lang/String;

    const/4 v0, -0x1

    iput v0, p0, Lcom/hyphenate/chat/a/b;->o:I

    iput-object v1, p0, Lcom/hyphenate/chat/a/b;->t:Ljava/lang/String;

    iput-object v1, p0, Lcom/hyphenate/chat/a/b;->u:Landroid/content/Context;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/hyphenate/chat/a/b;->e:Z

    new-instance v0, Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-direct {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;-><init>()V

    iput-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    return-void
.end method

.method private E()V
    .locals 4

    :try_start_0
    invoke-static {}, Lcom/hyphenate/chat/a/a;->a()Lcom/hyphenate/chat/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/a/a;->e()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-static {v0}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v0

    sput-boolean v0, Lcom/hyphenate/util/EMLog;->debugMode:Z

    :cond_0
    invoke-static {}, Lcom/hyphenate/chat/a/a;->a()Lcom/hyphenate/chat/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/a/a;->d()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-static {}, Lcom/hyphenate/chat/a/a;->a()Lcom/hyphenate/chat/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/a/a;->d()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/hyphenate/chat/a/b;->m:Ljava/lang/String;

    :cond_1
    invoke-static {}, Lcom/hyphenate/chat/a/a;->a()Lcom/hyphenate/chat/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/a/a;->b()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/hyphenate/chat/a/a;->a()Lcom/hyphenate/chat/a/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/a/a;->c()Ljava/lang/String;

    move-result-object v1

    if-eqz v0, :cond_3

    if-eqz v1, :cond_3

    const-string/jumbo v2, ":"

    invoke-virtual {v0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_2

    const-string/jumbo v2, ":"

    invoke-virtual {v0, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x1

    aget-object v2, v2, v3

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    iput v2, p0, Lcom/hyphenate/chat/a/b;->o:I

    const-string/jumbo v2, ":"

    invoke-virtual {v0, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    const/4 v2, 0x0

    aget-object v0, v0, v2

    :cond_2
    iput-object v0, p0, Lcom/hyphenate/chat/a/b;->n:Ljava/lang/String;

    iput-object v1, p0, Lcom/hyphenate/chat/a/b;->p:Ljava/lang/String;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/hyphenate/chat/a/b;->e:Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_3
    :goto_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method private F()V
    .locals 3

    const-string/jumbo v0, "conf"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, " APPKEY:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/hyphenate/chat/a/b;->m:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, " CHATSERVER:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v2}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getChatAddress()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/hyphenate/util/EMLog;->d(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v0, "conf"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "STORAGE_URL:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v2}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getRestServer()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/hyphenate/util/EMLog;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method private a(Lcom/hyphenate/chat/EMOptions;)V
    .locals 2

    iput-object p1, p0, Lcom/hyphenate/chat/a/b;->s:Lcom/hyphenate/chat/EMOptions;

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getRequireAck()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setRequireReadAck(Z)V

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getRequireDeliveryAck()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setRequireDeliveryAck(Z)V

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getRequireServerAck()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setRequireServerAck(Z)V

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getAcceptInvitationAlways()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setAutoAccept(Z)V

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->isDeleteMessagesAsExitGroup()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setDeleteMessageAsExitGroup(Z)V

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->isChatroomOwnerLeaveAllowed()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setIsChatroomOwnerLeaveAllowed(Z)V

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->isAutoAcceptGroupInvitation()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setAutoAcceptGroupInvitation(Z)V

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getEnableDNSConfig()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->enableDnsConfig(Z)V

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->isSortMessageByServerTime()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setSortMessageByServerTime(Z)V

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getGCMNumber()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/hyphenate/chat/a/b;->t:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getMipushConfig()Lcom/hyphenate/chat/a/b$b;

    move-result-object v0

    iput-object v0, p0, Lcom/hyphenate/chat/a/b;->v:Lcom/hyphenate/chat/a/b$b;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getHuaweiPushAppId()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/hyphenate/chat/a/b;->w:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getRestServer()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getImServer()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->enableDnsConfig(Z)V

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getRestServer()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/hyphenate/chat/a/b;->p:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getImServer()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/hyphenate/chat/a/b;->n:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getImPort()I

    move-result v0

    if-lez v0, :cond_0

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMOptions;->getImPort()I

    move-result v0

    iput v0, p0, Lcom/hyphenate/chat/a/b;->o:I

    :cond_0
    return-void
.end method

.method public static a()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method


# virtual methods
.method public A()Z
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getUseAws()Z

    move-result v0

    return v0
.end method

.method public B()Z
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getSortMessageByServerTime()Z

    move-result v0

    return v0
.end method

.method public C()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getGaoDeDiscoverKey()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public D()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getGaoDeLocationKey()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public a(I)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setChatPort(I)V

    return-void
.end method

.method public a(Lcom/hyphenate/EMCallBack;)V
    .locals 2

    new-instance v0, Lcom/hyphenate/chat/adapter/EMACallback;

    invoke-direct {v0, p1}, Lcom/hyphenate/chat/adapter/EMACallback;-><init>(Lcom/hyphenate/EMCallBack;)V

    iget-object v1, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v1, v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->uploadLog(Lcom/hyphenate/chat/adapter/EMACallback;)V

    return-void
.end method

.method public a(Lcom/hyphenate/chat/a/b$b;)V
    .locals 0

    iput-object p1, p0, Lcom/hyphenate/chat/a/b;->v:Lcom/hyphenate/chat/a/b$b;

    return-void
.end method

.method a(Lcom/hyphenate/chat/a/b$c;)V
    .locals 0

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 5

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->u:Landroid/content/Context;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->u:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getFilesDir()Ljava/io/File;

    move-result-object v0

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/hyphenate/chat/a/b;->u:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v1

    new-instance v2, Ljava/io/File;

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v3

    invoke-virtual {v3}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "/Android/data/"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, "/"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, "/"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {v2}, Ljava/io/File;->canWrite()Z

    move-result v1

    if-eqz v1, :cond_1

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "core_log"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "files"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v2, Ljava/io/File;

    invoke-direct {v2, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->mkdirs()Z

    new-instance v2, Ljava/io/File;

    invoke-direct {v2, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->mkdirs()Z

    :goto_1
    iget-object v2, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v2, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setLogPath(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v1, v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setDownloadPath(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_1
    move-object v1, v0

    goto :goto_1
.end method

.method public a(Ljava/lang/String;I)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1, p2}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->updateConversationUnreadCount(Ljava/lang/String;I)V

    return-void
.end method

.method public a(Ljava/lang/String;ILjava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1, p2, p3}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->importConversation(Ljava/lang/String;ILjava/lang/String;)V

    return-void
.end method

.method public a(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ZI)V
    .locals 9

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    move-object v1, p1

    move v2, p2

    move-object v3, p3

    move-object v4, p4

    move-object v5, p5

    move-object v6, p6

    move/from16 v7, p7

    move/from16 v8, p8

    invoke-virtual/range {v0 .. v8}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->importGroup(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ZI)V

    return-void
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;I)V
    .locals 7

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move-object v4, p4

    move-object v5, p5

    move v6, p6

    invoke-virtual/range {v0 .. v6}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->importChatRoom(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;I)V

    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->importBlackList(Ljava/util/List;)V

    return-void
.end method

.method public a(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->enableDnsConfig(Z)V

    return-void
.end method

.method public a(Landroid/content/Context;Lcom/hyphenate/chat/EMOptions;)Z
    .locals 6

    const/4 v0, 0x0

    const/4 v5, -0x1

    invoke-virtual {p1}, Landroid/content/Context;->getFilesDir()Ljava/io/File;

    move-result-object v1

    invoke-virtual {v1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v2

    iput-object p1, p0, Lcom/hyphenate/chat/a/b;->u:Landroid/content/Context;

    iget-object v1, p0, Lcom/hyphenate/chat/a/b;->u:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v1

    :try_start_0
    iget-object v3, p0, Lcom/hyphenate/chat/a/b;->u:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v3

    const/16 v4, 0x80

    invoke-virtual {v3, v1, v4}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    :goto_0
    if-eqz p2, :cond_0

    invoke-virtual {p2}, Lcom/hyphenate/chat/EMOptions;->getAppKey()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    invoke-virtual {p2}, Lcom/hyphenate/chat/EMOptions;->getAppKey()Ljava/lang/String;

    move-result-object v0

    :cond_0
    iput-object v0, p0, Lcom/hyphenate/chat/a/b;->m:Ljava/lang/String;

    if-eqz v1, :cond_1

    iget-object v0, v1, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;

    if-nez v0, :cond_8

    const-string/jumbo v0, "conf"

    const-string/jumbo v1, "\u8bf7\u786e\u8ba4meta\u5c5e\u6027\u5199\u5728\u6e05\u5355\u6587\u4ef6\u91cc\u7684application\u8282\u70b9\u4ee5\u5185"

    invoke-static {v0, v1}, Lcom/hyphenate/util/EMLog;->w(Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    :goto_1
    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    iget-object v1, p0, Lcom/hyphenate/chat/a/b;->m:Ljava/lang/String;

    invoke-virtual {v0, v2, v2, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->init(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    invoke-direct {p0, p2}, Lcom/hyphenate/chat/a/b;->a(Lcom/hyphenate/chat/EMOptions;)V

    invoke-direct {p0}, Lcom/hyphenate/chat/a/b;->E()V

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->m:Ljava/lang/String;

    invoke-virtual {p0, v0}, Lcom/hyphenate/chat/a/b;->a(Ljava/lang/String;)V

    const-string/jumbo v0, "conf"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "EASEMOB_APPKEY is set to:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/hyphenate/chat/a/b;->m:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/hyphenate/util/EMLog;->i(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->n:Ljava/lang/String;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->n:Ljava/lang/String;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    iget-object v1, p0, Lcom/hyphenate/chat/a/b;->n:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setChatServer(Ljava/lang/String;)V

    :cond_2
    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->p:Ljava/lang/String;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->p:Ljava/lang/String;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    iget-object v1, p0, Lcom/hyphenate/chat/a/b;->p:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setRestServer(Ljava/lang/String;)V

    :cond_3
    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->q:Ljava/lang/String;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->q:Ljava/lang/String;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_4

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    iget-object v1, p0, Lcom/hyphenate/chat/a/b;->q:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setChatDomain(Ljava/lang/String;)V

    :cond_4
    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->r:Ljava/lang/String;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->r:Ljava/lang/String;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    iget-object v1, p0, Lcom/hyphenate/chat/a/b;->r:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setGroupDomain(Ljava/lang/String;)V

    :cond_5
    iget v0, p0, Lcom/hyphenate/chat/a/b;->o:I

    if-eq v0, v5, :cond_6

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    iget v1, p0, Lcom/hyphenate/chat/a/b;->o:I

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setChatPort(I)V

    :cond_6
    iget-boolean v0, p0, Lcom/hyphenate/chat/a/b;->e:Z

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->enableDnsConfig(Z)V

    :cond_7
    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    const-string/jumbo v1, "3.2.2"

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setSDKVersion(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/hyphenate/chat/a/b;->F()V

    const/4 v0, 0x1

    return v0

    :catch_0
    move-exception v1

    const-string/jumbo v3, "conf"

    invoke-virtual {v1}, Landroid/content/pm/PackageManager$NameNotFoundException;->getMessage()Ljava/lang/String;

    move-result-object v1

    invoke-static {v3, v1}, Lcom/hyphenate/util/EMLog;->e(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v1, "conf"

    const-string/jumbo v3, "\u627e\u4e0d\u5230ApplicationInfo"

    invoke-static {v1, v3}, Lcom/hyphenate/util/EMLog;->e(Ljava/lang/String;Ljava/lang/String;)V

    move-object v1, v0

    goto/16 :goto_0

    :cond_8
    const-string/jumbo v1, "EASEMOB_APPKEY"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    if-nez v1, :cond_f

    iget-object v3, p0, Lcom/hyphenate/chat/a/b;->m:Ljava/lang/String;

    if-nez v3, :cond_f

    const-string/jumbo v1, "conf"

    const-string/jumbo v3, "EASEMOB_APPKEY is not set in AndroidManifest file"

    invoke-static {v1, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    :cond_9
    :goto_2
    const-string/jumbo v1, "EASEMOB_CHAT_ADDRESS"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_a

    iput-object v1, p0, Lcom/hyphenate/chat/a/b;->n:Ljava/lang/String;

    :cond_a
    const-string/jumbo v1, "EASEMOB_CHAT_PORT"

    invoke-virtual {v0, v1, v5}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I

    move-result v1

    if-eq v1, v5, :cond_b

    iput v1, p0, Lcom/hyphenate/chat/a/b;->o:I

    :cond_b
    const-string/jumbo v1, "EASEMOB_API_URL"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_c

    iput-object v1, p0, Lcom/hyphenate/chat/a/b;->p:Ljava/lang/String;

    :cond_c
    const-string/jumbo v1, "GCM_PROJECT_NUMBER"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_d

    iget-object v3, p0, Lcom/hyphenate/chat/a/b;->t:Ljava/lang/String;

    if-nez v3, :cond_d

    iput-object v1, p0, Lcom/hyphenate/chat/a/b;->t:Ljava/lang/String;

    :cond_d
    const-string/jumbo v1, "EASEMOB_CHAT_DOMAIN"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_e

    iput-object v1, p0, Lcom/hyphenate/chat/a/b;->q:Ljava/lang/String;

    :cond_e
    const-string/jumbo v1, "EASEMOB_GROUP_DOMAIN"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    iput-object v0, p0, Lcom/hyphenate/chat/a/b;->r:Ljava/lang/String;

    goto/16 :goto_1

    :cond_f
    iget-object v3, p0, Lcom/hyphenate/chat/a/b;->m:Ljava/lang/String;

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-eqz v3, :cond_9

    iput-object v1, p0, Lcom/hyphenate/chat/a/b;->m:Ljava/lang/String;

    goto :goto_2
.end method

.method public b()Lcom/hyphenate/chat/EMOptions;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->s:Lcom/hyphenate/chat/EMOptions;

    return-object v0
.end method

.method public b(Z)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getAccessToken(Z)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public b(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->openDatabase(Ljava/lang/String;)V

    return-void
.end method

.method public b(Ljava/util/List;)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->importContacts(Ljava/util/List;)V

    return-void
.end method

.method c()Lcom/hyphenate/chat/a/b$c;
    .locals 1

    sget-object v0, Lcom/hyphenate/chat/a/b$c;->a:Lcom/hyphenate/chat/a/b$c;

    return-object v0
.end method

.method public c(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setChatServer(Ljava/lang/String;)V

    return-void
.end method

.method public c(Ljava/util/List;)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->importMessages(Ljava/util/List;)V

    return-void
.end method

.method public c(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setDebugMode(Z)V

    return-void
.end method

.method d()Lcom/hyphenate/chat/a/b$a;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getIsSandboxMode()Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/hyphenate/chat/a/b$a;->a:Lcom/hyphenate/chat/a/b$a;

    :goto_0
    return-object v0

    :cond_0
    sget-object v0, Lcom/hyphenate/chat/a/b$a;->b:Lcom/hyphenate/chat/a/b$a;

    goto :goto_0
.end method

.method public d(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setRestServer(Ljava/lang/String;)V

    return-void
.end method

.method public d(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setRequireDeliveryAck(Z)V

    return-void
.end method

.method public e()Ljava/lang/String;
    .locals 1

    const-string/jumbo v0, "3.2.2"

    return-object v0
.end method

.method public e(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/hyphenate/chat/a/b;->t:Ljava/lang/String;

    return-void
.end method

.method public e(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setRequireReadAck(Z)V

    return-void
.end method

.method public f()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getBaseUrl()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public f(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/hyphenate/chat/a/b;->w:Ljava/lang/String;

    return-void
.end method

.method public f(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setRequireServerAck(Z)V

    return-void
.end method

.method public g(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setUseEncryption(Z)V

    return-void
.end method

.method public g()Z
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->useHttps()Z

    move-result v0

    return v0
.end method

.method public h()V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->retrieveDNSConfig()V

    return-void
.end method

.method public h(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setAutoAccept(Z)V

    return-void
.end method

.method public i(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setDeleteMessageAsExitGroup(Z)V

    return-void
.end method

.method public i()Z
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->isEnableDnsConfig()Z

    move-result v0

    return v0
.end method

.method public j(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setAutoAcceptGroupInvitation(Z)V

    return-void
.end method

.method public j()Z
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->isGcmEnabled()Z

    move-result v0

    return v0
.end method

.method public k()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getRestServer()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public k(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setIsChatroomOwnerLeaveAllowed(Z)V

    return-void
.end method

.method public l()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getAppKey()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public l(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setUseAws(Z)V

    return-void
.end method

.method public m()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getNextAvailableBaseUrl()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public m(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setSortMessageByServerTime(Z)V

    return-void
.end method

.method public n()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getAccessToken()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public n(Z)V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->setUseHttps(Z)V

    return-void
.end method

.method public o()J
    .locals 2

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getTokenSaveTime()J

    move-result-wide v0

    return-wide v0
.end method

.method public p()Z
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getRequireReadAck()Z

    move-result v0

    return v0
.end method

.method public q()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public r()Z
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getAutoAccept()Z

    move-result v0

    return v0
.end method

.method public s()Z
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getRequireServerAck()Z

    move-result v0

    return v0
.end method

.method public t()Z
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getDeleteMessageAsExitGroup()Z

    move-result v0

    return v0
.end method

.method public u()Z
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getAutoAcceptGroupInvitation()Z

    move-result v0

    return v0
.end method

.method public v()Z
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->getIsChatroomOwnerLeaveAllowed()Z

    move-result v0

    return v0
.end method

.method public w()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->t:Ljava/lang/String;

    return-object v0
.end method

.method public x()Lcom/hyphenate/chat/a/b$b;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->v:Lcom/hyphenate/chat/a/b$b;

    return-object v0
.end method

.method public y()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->w:Ljava/lang/String;

    return-object v0
.end method

.method public z()V
    .locals 1

    iget-object v0, p0, Lcom/hyphenate/chat/a/b;->a:Lcom/hyphenate/chat/adapter/EMAChatConfig;

    invoke-virtual {v0}, Lcom/hyphenate/chat/adapter/EMAChatConfig;->reloadAll()V

    return-void
.end method
